<div class="navbar">
	<div class="navbar-inner">
		<div class="container-fluid">
			<a class="btn btn-navbar" data-toggle="collapse"
				data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse"> <span
				class="icon-bar"></span> <span class="icon-bar"></span> <span
				class="icon-bar"></span> </a>
			<a class="brand" href="index.html"> <img alt="Charisma Logo"
					src="images/logo20.png"> <span>daydream</span> </a>


			<!-- user dropdown starts -->
			<div class="btn-group pull-right">
				<#if user??>

				<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
					<i class="icon-user"></i><span class="hidden-phone">
						${user.name}</span> <span class="caret"></span> </a>
				<ul class="dropdown-menu">
					<li>
						<a href="#">${user.name}</a>
					</li>
					<li class="divider"></li>
					<li>
						<a href="${rc.contextPath}/logout">注销</a>
					</li>
				</ul>
				</#if>
			</div>
		</div>
	</div>
</div>
